<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="aca.ProfessorController" %>
<%@ page import="aca.Turma" %>
<%
def user = grailsApplication.classLoader.loadClass('aca.ProfessorController').newInstance()
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="layout" content="main"/>
<title>Insert title here</title>
</head>
<body>
  <div class="body">
  	Bem vindo(a), professor(a) ${user.extraiDados(session.openidParams.ax)} !!    <openid:logoutLink success="[controller:'user', action:'loggedout']"><span style="padding-left:20px"><b>      Efetuar Logout</b></span></openid:logoutLink>
  </div>

  <div>
  <g:form controller="turma" action="list">
  	<!--Permite que professor visualize as turmas criadas antes de criar outra.-->
	<g:submitButton name="Turmas" value="Turmas" action="/aca/turma/list" />
	
  </g:form>
  
   <g:form controller="atividade" action="download_lab">
	  	<g:submitButton name="Ver downloads" value="Downloads" action="/aca/atividade/download_lab" />
  </g:form>
  
  </div>
  

</body>

             

</html>